Total Complexity | 54 |
Dependencies | 5 |
Dependents | 0 |
Total lines | 183 |
Lines of code | 132 |
Logical lines of code | 88 |
Comment lines | 9 |
Methods | 10 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
convert_amount_coupon_price_to_default() | 51 | 11 | 24 | |
points_rewards_my_points_events() | 57 | 8 | 15 | |
recalculate_user_points_balance() | 53 | 6 | 21 | |
get_discount_for_redeeming_points() | 58 | 6 | 16 | |
detect_currency_apply_discount_cart() | 61 | 7 | 10 | |
detect_currency_apply_discount_checkout() | 60 | 6 | 11 | |
coupon_removed() | 66 | 4 | 7 | |
__construct() | 59 | 2 | 13 | |
converted_coupon_price() | 67 | 2 | 8 | |
get_amount_coupon_price_fallback_currency() | 69 | 2 | 7 |